const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer:{
    proxy: {
      '/mapi': {
        target: 'https://m.you.163.com',
        pathRewrite:{'^/mapi':''}
      },
      '/api': {
        target: 'http://sph-h5-api.atguigu.cn',
      },
      '/gapi': {
        target: 'http://sph-h5-api.atguigu.cn',
        pathRewrite:{'^/gapi':''}
      }
    }
  }
})
